package guda.house.dal.dao;

import guda.house.dal.dataobject.ParkingRuleDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface ParkingRuleDAO {


    Long insert(ParkingRuleDO parkingRule);


    ParkingRuleDO getParkingRuleById(Long ruleId);


    boolean delParkingRuleById(Long ruleId);

    List<ParkingRuleDO> getParkingRuleByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long ruleId);

    List<ParkingRuleDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(ParkingRuleDO parkingRule);

    List<ParkingRuleDO> selectForView(BaseQuery baseQuery);

}
